package org.bemuv;

import org.bemuv.util.BemuvUtil;

import android.os.Bundle;
import android.app.Activity;
import android.support.v4.app.FragmentActivity;
import android.view.Menu;
import android.widget.Toast;

public class QueryActivity extends FragmentActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_query);
		ResultFragment search=(ResultFragment)getSupportFragmentManager().findFragmentById(R.id.result_fragment);
		BemuvUtil.setTitle(search.getActivity(), R.drawable.ic_happy_hour, getResources().getString(R.string.title_activity_happy_hour));
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.activity_query, menu);
		return true;
	}

}
